package com.ruoyi.purchase.mapper;

import com.ruoyi.purchase.domain.SupplyDetail;

import java.util.List;

/**
 * supplyDetailMapper接口
 * 
 * @author kevinness
 * @date 2025-01-15
 */
public interface SupplyDetailMapper 
{
    /**
     * 查询supplyDetail
     * 
     * @param rawProductBatch supplyDetail主键
     * @return supplyDetail
     */
    public SupplyDetail selectSupplyDetailByRawProductBatch(String rawProductBatch);

    /**
     * 查询supplyDetail列表
     * 
     * @param supplyDetail supplyDetail
     * @return supplyDetail集合
     */
    public List<SupplyDetail> selectSupplyDetailList(SupplyDetail supplyDetail);

    /**
     * 新增supplyDetail
     * 
     * @param supplyDetail supplyDetail
     * @return 结果
     */
    public int insertSupplyDetail(SupplyDetail supplyDetail);

    /**
     * 修改supplyDetail
     * 
     * @param supplyDetail supplyDetail
     * @return 结果
     */
    public int updateSupplyDetail(SupplyDetail supplyDetail);

    /**
     * 删除supplyDetail
     * 
     * @param rawProductBatch supplyDetail主键
     * @return 结果
     */
    public int deleteSupplyDetailByRawProductBatch(String rawProductBatch);

    /**
     * 批量删除supplyDetail
     * 
     * @param rawProductBatchs 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSupplyDetailByRawProductBatchs(String[] rawProductBatchs);
}
